package com.gpframework.module.order.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

import java.util.List;

/**
 * @ClassName GpOrderUpdate
 * @Author gpframework
 * @Date 2023-06-16
 * @Version 1.0.0
 * @Description 销售单更新请求体对象
 */
@Data
@ToString
@Validated
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GpOrderUpdate extends GpOrderAdd {

//    @NotNull(message = "${column.columnComment}不能为空")
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;
    @ApiModelProperty("ids")
    private List<Long> ids;
    /** 欠货产品列表 */
    @ApiModelProperty("欠货产品列表")
    private List<GpProductUpdate> outOfStockProductList;
}
